package com.xu.timer;
import java.util.Set;
import java.util.concurrent.TimeUnit;

/**
 * @author:whh
 * @date: 2025-07-26 21:59
 * <p></p>
 */
public interface Timer {
   Timeout newTimeout(TimerTask task, long delay, TimeUnit unit);

    Set<Timeout> stop();

    boolean isStop();
}
